import request from "@/utils/request";
import {ContentTypeEnum} from "@/enums/requestEnum";


export function file(params) {
    return request.post('/api/upload/file', params, {headers: {"Content-Type": ContentTypeEnum.FORM_DATA}});
}